﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Data;
using OgilvyOne.Model;

namespace OgilvyOne.IDAL
{
    public interface ICmsArticleFront
    {
        /// <summary>
        /// 获取单篇文章
        /// </summary>
        /// <param name="aid"></param>
        /// <returns></returns>
        CmsArticleModel getCmsArticle(int aid);
        /// <summary>
        /// 删除文章
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        bool Del(string ids);
        /// <summary>
        /// 发布文章到前台
        /// </summary>
        /// <param name="cm"></param>
        /// <returns></returns>
        bool PushFront(CmsArticleModel cm);

        DataSet GetSqlTable(string sql);
        
    }
}
